package com.tian.service.market;


import com.tian.common.util.CommonResult;
import com.tian.dto.market.BaseReqPageDto;
import com.tian.dto.market.BaseRespPageDto;
import com.tian.dto.market.UserPointChangeRespDto;
import com.tian.mq.message.ChargeUserPointMessage;
import com.tian.mq.message.UserPointMessage;

import java.util.List;

/**
 * {@code @description:} TODO
 *
 * @author tianwc 公众号：Java后端技术全栈
 * 在线刷题 1200+java面试题和1000+篇技术文章：<a href="https://woaijava.cc/">博客地址</a>
 * {@code @date:} 2024-03-24 10:13
 * {@code @version:} 1.0
 */
public interface UserPointService {

    void addPoint(UserPointMessage userPointMessage);

    void  initUserPoint(ChargeUserPointMessage chargeUserPointMessage);

    CommonResult<Integer> getUserPoint();

    CommonResult<BaseRespPageDto<List<UserPointChangeRespDto>>> changeList(BaseReqPageDto baseReqPageDto);
}
